package com.javachatter.constants;

public enum MessageConstants {
	STATUS_BUSY("BUSY"),
	STATUS_ONLINE("ONLINE"),
	REQUEST_LOGIN("RQ_LOGIN"),
	REQUEST_LOGOUT("RQ_LOGOUT"),
	REQUEST_REGISTER("RQ_REGISTER"),
	RESPONSE_LOGIN("RP_LOGIN"),
	RESPONSE_LOGOUT("RP_LOGOUT"),
	RESPONSE_REGISTER("RP_REGISTER2");
	
	private final String value;
	
	private MessageConstants(String value){
		this.value = value;
	}
	
	@Override
	public String toString(){
		return value;
	}
}
